<script>
                    layui.config(
        		{base: "dev/static/formbuilder/ayq/modules/"}).use(["layer", "laytpl", "element", "form", "slider", "laydate", "rate", "colorpicker", "layedit", "carousel", "upload", "formField", "numberInput", "iconPicker", "cron", "labelGeneration"], function () {
                var $ = layui.jquery
                    , layer = layui.layer
                    , laytpl = layui.laytpl
                    , setter = layui.cache
                    , element = layui.element
                    , slider = layui.slider
                    , laydate = layui.laydate
                    , rate = layui.rate
                    , colorpicker = layui.colorpicker
                    , carousel = layui.carousel
                    , form = layui.form
                    , upload = layui.upload
                    , layedit = layui.layedit
                    , formField = layui.formField
                    , hint = layui.hint
                    , numberInput = layui.numberInput
                    , iconPicker = layui.iconPicker
                    , cron = layui.cron
                    , labelGeneration = layui.labelGeneration;

                //这里写你的代码
            });
        </script>
                